# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'mainWindow.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *

from  . import resource_rc

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(927, 620)
        icon = QIcon()
        icon.addFile(u":/icon/icon/win/chat-logo.svg", QSize(), QIcon.Normal, QIcon.Off)
        MainWindow.setWindowIcon(icon)
        MainWindow.setStyleSheet(u"QScrollBar {\n"
"	width: 8px;\n"
"    background-color: #E3E4E5;\n"
"}\n"
"\n"
"QScrollBar::sub-line, QScrollBar::add-line {\n"
"    width: 0px;\n"
"    height: 0px;\n"
"	background-color: #E3E4E5;\n"
"}\n"
"\n"
"QScrollBar::add-page, QScrollBar::sub-page {\n"
"    background-color: #E3E4E5;\n"
"}\n"
"\n"
"QScrollBar::handle {\n"
"    width: 8px;\n"
"    margin-top:5px;\n"
"    margin-bottom:5px;\n"
"    border-radius: 4px;\n"
"    background-color: #D2D2D2;\n"
"}\n"
"")
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.gridLayout = QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(u"gridLayout")
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_4 = QHBoxLayout()
        self.horizontalLayout_4.setSpacing(0)
        self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
        self.frame_6 = QFrame(self.centralwidget)
        self.frame_6.setObjectName(u"frame_6")
        sizePolicy = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_6.sizePolicy().hasHeightForWidth())
        self.frame_6.setSizePolicy(sizePolicy)
        self.frame_6.setMinimumSize(QSize(57, 0))
        self.frame_6.setMaximumSize(QSize(50, 16777215))
        self.frame_6.setStyleSheet(u"QFrame{background-color:rgb(46,46,46)}")
        self.frame_6.setFrameShape(QFrame.NoFrame)
        self.frame_6.setFrameShadow(QFrame.Raised)
        self.gridLayout_5 = QGridLayout(self.frame_6)
        self.gridLayout_5.setObjectName(u"gridLayout_5")
        self.gridLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3 = QVBoxLayout()
        self.verticalLayout_3.setSpacing(6)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.verticalSpacer = QSpacerItem(20, 35, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.verticalLayout_3.addItem(self.verticalSpacer)

        self.label_2 = QLabel(self.frame_6)
        self.label_2.setObjectName(u"label_2")
        sizePolicy1 = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
        sizePolicy1.setHorizontalStretch(0)
        sizePolicy1.setVerticalStretch(0)
        sizePolicy1.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy1)
        self.label_2.setMinimumSize(QSize(36, 36))
        self.label_2.setMaximumSize(QSize(36, 36))
        self.label_2.setCursor(QCursor(Qt.PointingHandCursor))
        self.label_2.setStyleSheet(u"border-image: url(:/images/img/head.jpg);")
        self.label_2.setMargin(8)

        self.verticalLayout_3.addWidget(self.label_2, 0, Qt.AlignHCenter)

        self.verticalSpacer_3 = QSpacerItem(20, 21, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.verticalLayout_3.addItem(self.verticalSpacer_3)

        self.chatButton = QPushButton(self.frame_6)
        self.chatButton.setObjectName(u"chatButton")
        self.chatButton.setMinimumSize(QSize(26, 23))
        self.chatButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.chatButton.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/chat-unchecked.svg)}\n"
"QPushButton:hover{image: url(:/icon/icon/chat-hover.svg)}\n"
"QPushButton:checked{image: url(:/icon/icon/chat-checked.svg)}\n"
"QPushButton:unchecked{image: url(:/icon/icon/chat-unchecked.svg)}")
        self.chatButton.setIconSize(QSize(24, 20))
        self.chatButton.setCheckable(True)

        self.verticalLayout_3.addWidget(self.chatButton)

        self.verticalSpacer_5 = QSpacerItem(20, 11, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.verticalLayout_3.addItem(self.verticalSpacer_5)

        self.chatButton_2 = QPushButton(self.frame_6)
        self.chatButton_2.setObjectName(u"chatButton_2")
        self.chatButton_2.setMinimumSize(QSize(26, 23))
        self.chatButton_2.setCursor(QCursor(Qt.PointingHandCursor))
        self.chatButton_2.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/contacts-unchecked.svg)}\n"
"QPushButton:hover{image: url(:/icon/icon/contacts-hover.svg)}\n"
"QPushButton:checked{image: url(:/icon/icon/contacts-checked.svg)}\n"
"QPushButton:unchecked{image: url(:/icon/icon/contacts-unchecked.svg)}")
        self.chatButton_2.setIconSize(QSize(24, 20))
        self.chatButton_2.setCheckable(True)

        self.verticalLayout_3.addWidget(self.chatButton_2)

        self.verticalSpacer_6 = QSpacerItem(20, 11, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.verticalLayout_3.addItem(self.verticalSpacer_6)

        self.chatButton_4 = QPushButton(self.frame_6)
        self.chatButton_4.setObjectName(u"chatButton_4")
        self.chatButton_4.setMinimumSize(QSize(26, 23))
        self.chatButton_4.setCursor(QCursor(Qt.PointingHandCursor))
        self.chatButton_4.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/information-unchecked.svg)}\n"
"QPushButton:hover{image: url(:/icon/icon/information-hover.svg)}\n"
"QPushButton:checked{image: url(:/icon/icon/information-checked.svg)}\n"
"QPushButton:unchecked{image: url(:/icon/icon/information-unchecked.svg)}")
        self.chatButton_4.setIconSize(QSize(24, 20))
        self.chatButton_4.setCheckable(True)

        self.verticalLayout_3.addWidget(self.chatButton_4)

        self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.verticalLayout_3.addItem(self.verticalSpacer_2)

        self.chatButton_3 = QPushButton(self.frame_6)
        self.chatButton_3.setObjectName(u"chatButton_3")
        self.chatButton_3.setMinimumSize(QSize(26, 23))
        self.chatButton_3.setCursor(QCursor(Qt.PointingHandCursor))
        self.chatButton_3.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/settings-unchecked.svg)}\n"
"QPushButton:hover{image: url(:/icon/icon/settings-hover.svg)}\n"
"QPushButton:checked{image: url(:/icon/icon/settings-checked.svg)}\n"
"QPushButton:unchecked{image: url(:/icon/icon/settings-unchecked.svg)}")
        self.chatButton_3.setIconSize(QSize(24, 20))
        self.chatButton_3.setCheckable(False)

        self.verticalLayout_3.addWidget(self.chatButton_3)

        self.verticalSpacer_7 = QSpacerItem(20, 11, QSizePolicy.Minimum, QSizePolicy.Fixed)

        self.verticalLayout_3.addItem(self.verticalSpacer_7)


        self.gridLayout_5.addLayout(self.verticalLayout_3, 0, 0, 1, 1)


        self.horizontalLayout_4.addWidget(self.frame_6)

        self.frame = QFrame(self.centralwidget)
        self.frame.setObjectName(u"frame")
        sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
        self.frame.setSizePolicy(sizePolicy)
        self.frame.setMinimumSize(QSize(251, 0))
        self.frame.setMaximumSize(QSize(250, 16777215))
        self.frame.setStyleSheet(u"QFame{background-color:rgb(247,247,247)}")
        self.frame.setFrameShape(QFrame.NoFrame)
        self.frame.setFrameShadow(QFrame.Plain)
        self.frame.setLineWidth(0)
        self.gridLayout_3 = QGridLayout(self.frame)
        self.gridLayout_3.setObjectName(u"gridLayout_3")
        self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2 = QVBoxLayout()
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.frame_7 = QFrame(self.frame)
        self.frame_7.setObjectName(u"frame_7")
        sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
        sizePolicy2.setHorizontalStretch(0)
        sizePolicy2.setVerticalStretch(0)
        sizePolicy2.setHeightForWidth(self.frame_7.sizePolicy().hasHeightForWidth())
        self.frame_7.setSizePolicy(sizePolicy2)
        self.frame_7.setMinimumSize(QSize(0, 65))
        self.frame_7.setMaximumSize(QSize(16777215, 16777215))
        self.frame_7.setStyleSheet(u"QFrame {\n"
"    background-color: rgb(247,247,247);\n"
"}\n"
"")
        self.frame_7.setFrameShape(QFrame.StyledPanel)
        self.frame_7.setFrameShadow(QFrame.Raised)
        self.gridLayout_4 = QGridLayout(self.frame_7)
        self.gridLayout_4.setObjectName(u"gridLayout_4")
        self.gridLayout_4.setContentsMargins(4, 15, 4, 0)
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setSpacing(11)
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalLayout.setContentsMargins(4, -1, 8, -1)
        self.searchLineEdit = QLineEdit(self.frame_7)
        self.searchLineEdit.setObjectName(u"searchLineEdit")
        self.searchLineEdit.setMaximumSize(QSize(16777215, 26))
        self.searchLineEdit.setStyleSheet(u"QLineEdit {\n"
"    border: none;\n"
"    background-color: rgb(226,226,226);\n"
"    border-radius: 6px;\n"
"}\n"
"")

        self.horizontalLayout.addWidget(self.searchLineEdit)

        self.pushButton = QPushButton(self.frame_7)
        self.pushButton.setObjectName(u"pushButton")
        sizePolicy1.setHeightForWidth(self.pushButton.sizePolicy().hasHeightForWidth())
        self.pushButton.setSizePolicy(sizePolicy1)
        self.pushButton.setMinimumSize(QSize(26, 26))
        self.pushButton.setMaximumSize(QSize(25, 25))
        self.pushButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.pushButton.setStyleSheet(u"QPushButton {\n"
"    border: none;\n"
"    background-color: rgb(226,226,226);\n"
"    border-radius: 5px;\n"
"	color: rgb(88,88,88);\n"
"	font-size: 22px\n"
"}\n"
"")

        self.horizontalLayout.addWidget(self.pushButton)


        self.gridLayout_4.addLayout(self.horizontalLayout, 0, 0, 1, 1)


        self.verticalLayout_2.addWidget(self.frame_7)

        self.scrollArea = QScrollArea(self.frame)
        self.scrollArea.setObjectName(u"scrollArea")
        self.scrollArea.setStyleSheet(u"")
        self.scrollArea.setFrameShape(QFrame.NoFrame)
        self.scrollArea.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOn)
        self.scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
        self.scrollArea.setWidgetResizable(True)
        self.scrollAreaWidgetContents = QWidget()
        self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
        self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 241, 551))
        self.gridLayout_2 = QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout_2.setSpacing(0)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_8 = QVBoxLayout()
        self.verticalLayout_8.setSpacing(0)
        self.verticalLayout_8.setObjectName(u"verticalLayout_8")
        self.chatItemListLayout = QVBoxLayout()
        self.chatItemListLayout.setSpacing(0)
        self.chatItemListLayout.setObjectName(u"chatItemListLayout")
        self.widget = QWidget(self.scrollAreaWidgetContents)
        self.widget.setObjectName(u"widget")
        self.widget.setStyleSheet(u"QWidget {\n"
"    background-color: #E3E4E5;\n"
"}\n"
"QWidget :hover {background-color:#D6D6D7}\n"
"\n"
"QLabel {\n"
"    background-color: none;\n"
"}\n"
"")
        self.gridLayout_11 = QGridLayout(self.widget)
        self.gridLayout_11.setObjectName(u"gridLayout_11")
        self.horizontalLayout_9 = QHBoxLayout()
        self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
        self.image = QLabel(self.widget)
        self.image.setObjectName(u"image")
        sizePolicy1.setHeightForWidth(self.image.sizePolicy().hasHeightForWidth())
        self.image.setSizePolicy(sizePolicy1)
        self.image.setMinimumSize(QSize(40, 40))
        self.image.setMaximumSize(QSize(36, 36))
        self.image.setStyleSheet(u"image: url(:/images/img/FileTransferAssistant.jpg);")
        self.image.setMargin(8)

        self.horizontalLayout_9.addWidget(self.image)

        self.verticalLayout_7 = QVBoxLayout()
        self.verticalLayout_7.setObjectName(u"verticalLayout_7")
        self.horizontalLayout_10 = QHBoxLayout()
        self.horizontalLayout_10.setObjectName(u"horizontalLayout_10")
        self.name = QLabel(self.widget)
        self.name.setObjectName(u"name")
        font = QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.name.setFont(font)
        self.name.setMargin(0)

        self.horizontalLayout_10.addWidget(self.name)

        self.time = QLabel(self.widget)
        self.time.setObjectName(u"time")
        sizePolicy.setHeightForWidth(self.time.sizePolicy().hasHeightForWidth())
        self.time.setSizePolicy(sizePolicy)
        self.time.setMinimumSize(QSize(25, 0))
        self.time.setStyleSheet(u"QLabel {\n"
"    color: #999999;\n"
"}\n"
"")

        self.horizontalLayout_10.addWidget(self.time)


        self.verticalLayout_7.addLayout(self.horizontalLayout_10)

        self.history = QLabel(self.widget)
        self.history.setObjectName(u"history")
        self.history.setStyleSheet(u"QLabel {\n"
"    color: #999999;\n"
"}\n"
"")

        self.verticalLayout_7.addWidget(self.history)


        self.horizontalLayout_9.addLayout(self.verticalLayout_7)


        self.gridLayout_11.addLayout(self.horizontalLayout_9, 0, 0, 1, 1)


        self.chatItemListLayout.addWidget(self.widget)


        self.verticalLayout_8.addLayout(self.chatItemListLayout)

        self.verticalSpacer_4 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.verticalLayout_8.addItem(self.verticalSpacer_4)


        self.gridLayout_2.addLayout(self.verticalLayout_8, 0, 0, 1, 1)

        self.scrollArea.setWidget(self.scrollAreaWidgetContents)

        self.verticalLayout_2.addWidget(self.scrollArea)


        self.gridLayout_3.addLayout(self.verticalLayout_2, 0, 0, 1, 1)


        self.horizontalLayout_4.addWidget(self.frame)

        self.stackedWidget = QStackedWidget(self.centralwidget)
        self.stackedWidget.setObjectName(u"stackedWidget")
        self.stackedWidget.setStyleSheet(u"#stackedWidget {\n"
"	border-left-width: 1px;\n"
"	border-left-color: #D6D6D6;\n"
"	/*border-left-color: red;*/\n"
"	border-top-style: none;\n"
"	border-left-style:solid;\n"
"}")
        self.stackedWidget.setFrameShape(QFrame.NoFrame)
        self.stackedWidget.setFrameShadow(QFrame.Raised)
        self.stackedWidget.setLineWidth(1)
        self.page = QWidget()
        self.page.setObjectName(u"page")
        self.gridLayout_6 = QGridLayout(self.page)
        self.gridLayout_6.setSpacing(0)
        self.gridLayout_6.setObjectName(u"gridLayout_6")
        self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
        self.frame_2 = QFrame(self.page)
        self.frame_2.setObjectName(u"frame_2")
        sizePolicy2.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
        self.frame_2.setSizePolicy(sizePolicy2)
        self.frame_2.setMinimumSize(QSize(0, 65))
        self.frame_2.setMaximumSize(QSize(16777215, 65))
        self.frame_2.setStyleSheet(u"QFrame {\n"
"    background-color: rgb(247,247,247);\n"
"}\n"
"#frame_2 {\n"
"	border-bottom-width: 1px;\n"
"	border-bottom-color: #D6D6D6;\n"
"	/*border-bottom-color: red;*/\n"
"	border-bottom-style:solid;\n"
"}")
        self.frame_2.setFrameShape(QFrame.NoFrame)
        self.frame_2.setFrameShadow(QFrame.Raised)
        self.frame_2.setLineWidth(0)
        self.gridLayout_8 = QGridLayout(self.frame_2)
        self.gridLayout_8.setObjectName(u"gridLayout_8")
        self.gridLayout_8.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_5 = QHBoxLayout()
        self.horizontalLayout_5.setSpacing(0)
        self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
        self.pushButton_2 = QPushButton(self.frame_2)
        self.pushButton_2.setObjectName(u"pushButton_2")
        self.pushButton_2.setCursor(QCursor(Qt.PointingHandCursor))
        self.pushButton_2.setStyleSheet(u"QPushButton {\n"
"	border:none;\n"
"    letter-spacing: 0px;\n"
"    font-size: 20px;\n"
"	margin-left: 6px\n"
"}")

        self.horizontalLayout_5.addWidget(self.pushButton_2)

        self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_5.addItem(self.horizontalSpacer)

        self.verticalLayout_5 = QVBoxLayout()
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.horizontalLayout_6 = QHBoxLayout()
        self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")

        self.verticalLayout_5.addLayout(self.horizontalLayout_6)


        self.horizontalLayout_5.addLayout(self.verticalLayout_5)

        self.gridLayout_7 = QGridLayout()
        self.gridLayout_7.setObjectName(u"gridLayout_7")
        self.gridLayout_7.setHorizontalSpacing(5)
        self.gridLayout_7.setVerticalSpacing(0)
        self.closeButton = QPushButton(self.frame_2)
        self.closeButton.setObjectName(u"closeButton")
        self.closeButton.setMinimumSize(QSize(26, 18))
        self.closeButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.closeButton.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/win/close.svg)}\n"
"QPushButton:hover{image: url(:/icon/icon/win/close-hover.svg);background-color:#FB7373;\n"
"}")
        self.closeButton.setIconSize(QSize(24, 20))
        self.closeButton.setCheckable(False)

        self.gridLayout_7.addWidget(self.closeButton, 0, 4, 1, 1)

        self.verticalSpacer_8 = QSpacerItem(20, 35, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.gridLayout_7.addItem(self.verticalSpacer_8, 2, 4, 1, 1)

        self.chatButton_9 = QPushButton(self.frame_2)
        self.chatButton_9.setObjectName(u"chatButton_9")
        self.chatButton_9.setMinimumSize(QSize(26, 19))
        self.chatButton_9.setCursor(QCursor(Qt.PointingHandCursor))
        self.chatButton_9.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/win/more-fill.svg);}\n"
"QPushButton:hover{border:none;image: url(:/icon/icon/win/more-hover.svg);}")
        self.chatButton_9.setIconSize(QSize(24, 20))
        self.chatButton_9.setCheckable(False)

        self.gridLayout_7.addWidget(self.chatButton_9, 3, 4, 1, 1)

        self.winMaxButton = QPushButton(self.frame_2)
        self.winMaxButton.setObjectName(u"winMaxButton")
        self.winMaxButton.setMinimumSize(QSize(26, 16))
        self.winMaxButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.winMaxButton.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/win/checkbox.svg); padding:2px}\n"
"\n"
"QPushButton:hover{background-color:#E2E2E2;padding:2px\n"
"}\n"
"\n"
"QPushButton:unchecked{image: url(:/icon/icon/win/checkbox.svg);}\n"
"\n"
"QPushButton:checked{image: url(:/icon/icon/win/checkbox-multiple.svg);}")
        self.winMaxButton.setIconSize(QSize(24, 20))
        self.winMaxButton.setCheckable(True)

        self.gridLayout_7.addWidget(self.winMaxButton, 0, 2, 1, 1)

        self.winfoButton = QPushButton(self.frame_2)
        self.winfoButton.setObjectName(u"winfoButton")
        self.winfoButton.setMinimumSize(QSize(26, 16))
        self.winfoButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.winfoButton.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/win/winfo.svg);}\n"
"\n"
"\n"
"QPushButton:hover{background-color:#E2E2E2;}\n"
"")
        self.winfoButton.setIconSize(QSize(24, 20))
        self.winfoButton.setCheckable(False)

        self.gridLayout_7.addWidget(self.winfoButton, 0, 1, 1, 1)

        self.pushPinButton = QPushButton(self.frame_2)
        self.pushPinButton.setObjectName(u"pushPinButton")
        self.pushPinButton.setMinimumSize(QSize(26, 16))
        self.pushPinButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.pushPinButton.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/win/pushpin-unchecked.svg);}\n"
"\n"
"\n"
"QPushButton:hover{background-color:#E2E2E2;}\n"
"\n"
"QPushButton:unchecked{image: url(:/icon/icon/win/pushpin-unchecked.svg);}\n"
"QPushButton:checked{image: url(:/icon/icon/win/pushpin-checked.svg);background-color:#E2E2E2;}\n"
"")
        self.pushPinButton.setIconSize(QSize(45, 53))
        self.pushPinButton.setCheckable(True)

        self.gridLayout_7.addWidget(self.pushPinButton, 0, 0, 1, 1)

        self.verticalSpacer_9 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.gridLayout_7.addItem(self.verticalSpacer_9, 4, 4, 1, 1)


        self.horizontalLayout_5.addLayout(self.gridLayout_7)


        self.gridLayout_8.addLayout(self.horizontalLayout_5, 0, 0, 1, 1)


        self.gridLayout_6.addWidget(self.frame_2, 0, 0, 1, 1)

        self.splitter = QSplitter(self.page)
        self.splitter.setObjectName(u"splitter")
        self.splitter.setOrientation(Qt.Vertical)
        self.splitter.setHandleWidth(0)
        self.scrollArea_2 = QScrollArea(self.splitter)
        self.scrollArea_2.setObjectName(u"scrollArea_2")
        self.scrollArea_2.setMinimumSize(QSize(0, 360))
        self.scrollArea_2.setStyleSheet(u"")
        self.scrollArea_2.setFrameShape(QFrame.NoFrame)
        self.scrollArea_2.setVerticalScrollBarPolicy(Qt.ScrollBarAsNeeded)
        self.scrollArea_2.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
        self.scrollArea_2.setSizeAdjustPolicy(QAbstractScrollArea.AdjustToContents)
        self.scrollArea_2.setWidgetResizable(True)
        self.scrollAreaWidgetContents_2 = QWidget()
        self.scrollAreaWidgetContents_2.setObjectName(u"scrollAreaWidgetContents_2")
        self.scrollAreaWidgetContents_2.setGeometry(QRect(0, 0, 616, 360))
        self.verticalLayout = QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.msgVerticalLayout = QVBoxLayout()
        self.msgVerticalLayout.setSpacing(0)
        self.msgVerticalLayout.setObjectName(u"msgVerticalLayout")

        self.verticalLayout.addLayout(self.msgVerticalLayout)

        self.verticalSpacer_10 = QSpacerItem(20, 287, QSizePolicy.Minimum, QSizePolicy.Expanding)

        self.verticalLayout.addItem(self.verticalSpacer_10)

        self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
        self.splitter.addWidget(self.scrollArea_2)
        self.frame_chatEdit = QFrame(self.splitter)
        self.frame_chatEdit.setObjectName(u"frame_chatEdit")
        self.frame_chatEdit.setMinimumSize(QSize(0, 168))
        self.frame_chatEdit.setStyleSheet(u"QFrame#frame_chatEdit {\n"
"	border-top-width: 1px;\n"
"	border-top-color: #ECECEC;\n"
"	border-top-style: solid;\n"
"}\n"
"QFrame {\n"
"    background-color: #F5F5F5;\n"
"}\n"
"")
        self.frame_chatEdit.setFrameShape(QFrame.StyledPanel)
        self.frame_chatEdit.setFrameShadow(QFrame.Raised)
        self.gridLayout_9 = QGridLayout(self.frame_chatEdit)
        self.gridLayout_9.setObjectName(u"gridLayout_9")
        self.gridLayout_9.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_4 = QVBoxLayout()
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setObjectName(u"verticalLayout_4")
        self.horizontalLayout_7 = QHBoxLayout()
        self.horizontalLayout_7.setSpacing(5)
        self.horizontalLayout_7.setObjectName(u"horizontalLayout_7")
        self.horizontalLayout_7.setContentsMargins(-1, 6, -1, 3)
        self.horizontalSpacer_3 = QSpacerItem(10, 20, QSizePolicy.Fixed, QSizePolicy.Minimum)

        self.horizontalLayout_7.addItem(self.horizontalSpacer_3)

        self.emotionButton = QPushButton(self.frame_chatEdit)
        self.emotionButton.setObjectName(u"emotionButton")
        self.emotionButton.setMinimumSize(QSize(27, 22))
        self.emotionButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.emotionButton.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/chat/emotion.svg);}\n"
"QPushButton:hover{image: url(:/icon/icon/chat/emotion-hover.svg);}")
        self.emotionButton.setIconSize(QSize(45, 53))
        self.emotionButton.setCheckable(True)

        self.horizontalLayout_7.addWidget(self.emotionButton)

        self.folderButton = QPushButton(self.frame_chatEdit)
        self.folderButton.setObjectName(u"folderButton")
        self.folderButton.setMinimumSize(QSize(27, 22))
        self.folderButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.folderButton.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/chat/folder.svg);}\n"
"\n"
"QPushButton:hover{image: url(:/icon/icon/chat/folder-hover.svg);}")
        self.folderButton.setIconSize(QSize(45, 53))
        self.folderButton.setCheckable(True)

        self.horizontalLayout_7.addWidget(self.folderButton)

        self.screenshotButton = QPushButton(self.frame_chatEdit)
        self.screenshotButton.setObjectName(u"screenshotButton")
        self.screenshotButton.setMinimumSize(QSize(27, 22))
        self.screenshotButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.screenshotButton.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/chat/screenshot.svg);}\n"
"QPushButton:hover{image: url(:/icon/icon/chat/screenshot-hover.svg);}\n"
"")
        self.screenshotButton.setIconSize(QSize(45, 53))
        self.screenshotButton.setCheckable(True)

        self.horizontalLayout_7.addWidget(self.screenshotButton)

        self.messageButton = QPushButton(self.frame_chatEdit)
        self.messageButton.setObjectName(u"messageButton")
        self.messageButton.setMinimumSize(QSize(27, 22))
        self.messageButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.messageButton.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/chat/message.svg);}\n"
"\n"
"QPushButton:hover{image: url(:/icon/icon/chat/message-hover.svg);}\n"
"")
        self.messageButton.setIconSize(QSize(45, 53))
        self.messageButton.setCheckable(True)

        self.horizontalLayout_7.addWidget(self.messageButton)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_7.addItem(self.horizontalSpacer_2)

        self.phoneButton = QPushButton(self.frame_chatEdit)
        self.phoneButton.setObjectName(u"phoneButton")
        self.phoneButton.setMinimumSize(QSize(27, 22))
        self.phoneButton.setCursor(QCursor(Qt.PointingHandCursor))
#if QT_CONFIG(tooltip)
        self.phoneButton.setToolTip(u"")
#endif // QT_CONFIG(tooltip)
        self.phoneButton.setStyleSheet(u"QPushButton{border:none;image: url(:/icon/icon/chat/phone.svg);}\n"
"\n"
"\n"
"QPushButton:hover{image: url(:/icon/icon/chat/phone-hover.svg);}\n"
"")
        self.phoneButton.setIconSize(QSize(45, 53))
        self.phoneButton.setCheckable(True)

        self.horizontalLayout_7.addWidget(self.phoneButton)

        self.horizontalSpacer_6 = QSpacerItem(10, 20, QSizePolicy.Fixed, QSizePolicy.Minimum)

        self.horizontalLayout_7.addItem(self.horizontalSpacer_6)


        self.verticalLayout_4.addLayout(self.horizontalLayout_7)

        self.textEdit = QTextEdit(self.frame_chatEdit)
        self.textEdit.setObjectName(u"textEdit")
        self.textEdit.setFrameShape(QFrame.NoFrame)
        self.textEdit.setFrameShadow(QFrame.Raised)

        self.verticalLayout_4.addWidget(self.textEdit)

        self.horizontalLayout_8 = QHBoxLayout()
        self.horizontalLayout_8.setObjectName(u"horizontalLayout_8")
        self.horizontalSpacer_4 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)

        self.horizontalLayout_8.addItem(self.horizontalSpacer_4)

        self.sendButton = QPushButton(self.frame_chatEdit)
        self.sendButton.setObjectName(u"sendButton")
        self.sendButton.setCursor(QCursor(Qt.PointingHandCursor))
        self.sendButton.setToolTipDuration(-1)
        self.sendButton.setStyleSheet(u"QPushButton{\n"
"	border:none;\n"
"	border-radius: 5px;\n"
"	background-color:#E9E9E9;\n"
"	color: #07C160;\n"
"	font-size:15px;\n"
"	width: 90px;\n"
"	height: 30px;\n"
"	margin-bottom:10px;\n"
"}\n"
"\n"
"QPushButton:hover{background-color:#D2D2D2;color:#06AE57;}\n"
"")

        self.horizontalLayout_8.addWidget(self.sendButton)

        self.horizontalSpacer_5 = QSpacerItem(14, 20, QSizePolicy.Fixed, QSizePolicy.Minimum)

        self.horizontalLayout_8.addItem(self.horizontalSpacer_5)


        self.verticalLayout_4.addLayout(self.horizontalLayout_8)


        self.gridLayout_9.addLayout(self.verticalLayout_4, 1, 0, 1, 1)

        self.splitter.addWidget(self.frame_chatEdit)

        self.gridLayout_6.addWidget(self.splitter, 1, 0, 1, 1)

        self.stackedWidget.addWidget(self.page)
        self.page_2 = QWidget()
        self.page_2.setObjectName(u"page_2")
        self.stackedWidget.addWidget(self.page_2)

        self.horizontalLayout_4.addWidget(self.stackedWidget)


        self.gridLayout.addLayout(self.horizontalLayout_4, 0, 0, 1, 1)

        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)

        self.stackedWidget.setCurrentIndex(0)


        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
        self.label_2.setText("")
        self.chatButton.setText("")
        self.chatButton_2.setText("")
        self.chatButton_4.setText("")
        self.chatButton_3.setText("")
        self.searchLineEdit.setPlaceholderText(QCoreApplication.translate("MainWindow", u"\u641c\u7d22", None))
        self.pushButton.setText(QCoreApplication.translate("MainWindow", u"+", None))
        self.image.setText("")
        self.name.setText(QCoreApplication.translate("MainWindow", u"\u6587\u4ef6\u4f20\u8f93\u52a9\u624b", None))
        self.time.setText(QCoreApplication.translate("MainWindow", u"16:00", None))
        self.history.setText(QCoreApplication.translate("MainWindow", u"\u804a\u5929\u8bb0\u5f55\u9884\u89c8", None))
        self.pushButton_2.setText(QCoreApplication.translate("MainWindow", u"\u6587\u4ef6\u4f20\u8f93\u52a9\u624b", None))
        self.closeButton.setText("")
        self.chatButton_9.setText("")
        self.winMaxButton.setText("")
        self.winfoButton.setText("")
        self.pushPinButton.setText("")
        self.emotionButton.setText("")
        self.folderButton.setText("")
        self.screenshotButton.setText("")
        self.messageButton.setText("")
        self.phoneButton.setText("")
#if QT_CONFIG(tooltip)
        self.sendButton.setToolTip(QCoreApplication.translate("MainWindow", u"\u6309Enter\u952e\u53d1\u9001\uff0c\u6309Ctrl+Enter\u952e\u6362\u884c", None))
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(statustip)
        self.sendButton.setStatusTip("")
#endif // QT_CONFIG(statustip)
        self.sendButton.setText(QCoreApplication.translate("MainWindow", u"\u53d1\u9001", None))
    # retranslateUi

